import { createContext, MutableRefObject } from 'react';

// 定义 context 的类型
interface DocxContextType {
  docxRef: MutableRefObject<Record<string, any>>;
}

// 创建 context，默认值为 undefined
export const DocxContext = createContext<DocxContextType>({
  docxRef: { current: {} }, 
});
